﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using IVisio = Microsoft.Office.Interop.Visio;
namespace SimpleVisio.Model
{
    public class Component
    {
        public int id { get; set; }
        public object index { get; set; }
        //public int index { get; set; }
        public string name { get; set; }
        public string type { get; set; }
        //public Container container = null;
        public List<Connector> connectors  { get; set; }
        //System.Drawing.
        public IVisio.Shape shape { get; set; }
        public  Point myPoint { get; set; }        
        //public bool enabled { get; set; }
        //public Component(int id, string name,string type, Container container)
        //{
        //    this.id = id;
        //    this.name = name;
        //    this.type = type;
        //    this.container = container;
        //    connectors = new List<Connector>();
        //}
        //public Component()
        //{

        //}
        //public void addConnector(Connector connector)
        //{
        //    connectors.Add(connector);
        //}
    }
}
